package com.haoe.dynamicproxy;

/**
 * @Author: 80305082
 * @Date: 2021/4/21
 * @Description:
 */
public class SquareBedImpl implements Bed {
    @Override
    public void shape(String shape) {
        System.out.println("我是正方形，形状当然是:" + shape + "的了。");
    }

    @Override
    public void function(String function) {
        System.out.println("我是正方形床，当然首先是床，所以肯定具有" + function + "的功能");
    }
}
